ListBox.Selected Property

Syntax

Selected as Boolean


Parameter is Row as Integer. Indicates if the row passed is selected or not.

Selected is True if the row passed is selected. This property can be used to determine if the row is selected and to select the row. For example,

Listbox1.Selected(1)= True

selects the second item in the first column.